package ua.edu.sumdu.j2se.roman.lab1.view;

/**
 * Author: Radko Roman.
 */

import ua.edu.sumdu.j2se.roman.lab1.domain.Task;

/**
 * Must be implemented any kind of view that uses, when need to show user error message view.
 *
 */
public interface ErrorMessageView {
    /**
     * Show error message view.
     *
     * @param msg message of some error
     */
    void show(String msg);

    /**
     * Author: Radko Roman.
     */
    interface PostponeView {
        void show (Task t);
    }
}
